from django.db import models

# Create your models here.

class User(models.Model):
    id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=100)
    sex = models.CharField(max_length=10, null=True, blank=True)
    mail = models.EmailField(null=True, blank=True)

    class Meta:
        db_table = 'user'  # 指定数据库表名


